package com.imooc.controller;

import com.imooc.service.WelcomeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * <h1></h1>
 *
 * @author : dzj
 * @create: 2021-10-23 12:12
 */
@Slf4j
@Controller
public class WelcomeController {
	@Autowired
	private WelcomeService welcomeService;
	public void handleRequest() {
		log.info("WelcomeController");
		welcomeService.sayHello("来自controller的问候");
	}
}
